home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 14 / 8 / DISK1487.ZIP / 2FACED.DOC < prev    next >
Text File  |  1990-12-11  |  42KB  |  1,099 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.                                                                      2Faced
  16.  
  17.                                                                 Version 3.0
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.                                  etersen
  59.                             P       rogramming &
  60.                                   P       onsulting
  61.                                         C
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                     Licensing
  71.           You are  authorized to USE  ONE copy of  2Faced.   You may copy
  72.         the program as necessary, but only one copy of the program may be
  73.         used  at any given time.  When a copy is in use, any extra copies
  74.         are authorized for archival purposes only.
  75.  
  76.  
  77.                              Limited 90 Day Warranty
  78.           PETERSEN PROGRAMMING &  CONSULTING warrants that the disk  will
  79.         be  machine readable.   If  the original  2Faced program  disk is
  80.         found  to  be defective  within 90  days  from date  of purchase,
  81.         PETERSEN PROGRAMMING & CONSULTING  will replace the program disk.
  82.         Since the  way in which  this program may  be used is  unknown to
  83.         PETERSEN  PROGRAMMING & CONSULTING, no warranty is made as to the
  84.         use  and/or suitability of 2Faced for any purpose.  Damages under
  85.         this warranty are limited to the purchase price. 
  86.  
  87.  
  88.           DeskJet,  LaserJet,  LaserJet+,  LaserJet  II,  LaserJet   IID,
  89.         LaserJet IIP, LaserJet  III, and LaserJet IIID  are trademarks of
  90.         Hewlett-Packard.
  91.  
  92.  
  93.           All rights  reserved.   No  part  of  this publication  may  be
  94.         reproduced, stored in a retrieval  system, or transmitted, in any
  95.         form  or by  any  means,  electronic,  mechanical,  photocopying,
  96.         recording,  or otherwise, without  prior written  permission from
  97.         Petersen Programming  & Consulting.  Printed in the United States
  98.         of America.
  99.  
  100.  
  101.             Copyright  (C)  1990 by Petersen Programming & Consulting
  102.  
  103.                         Petersen Programming & Consulting
  104.                                787 North 610 East
  105.                             American Fork, UT  84003
  106.  
  107.                                  (801) 756-3971
  108.  
  109.                               Printed December, 1990
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.      ii                                                              2Faced
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.         Table of Contents
  131.  
  132.  
  133.  
  134.  
  135.                               Introduction  . . . . . . . . . . . . . .   1
  136.  
  137.                               Control Screen  . . . . . . . . . . . . .   2
  138.                                  Print File . . . . . . . . . . . . . .   3
  139.                                  Printer Type . . . . . . . . . . . . .   3
  140.                                  Paper Size . . . . . . . . . . . . . .   3
  141.                                  Orientation  . . . . . . . . . . . . .   4
  142.                                  Print Mode . . . . . . . . . . . . . .   4
  143.                                  Binding  . . . . . . . . . . . . . . .   5
  144.                                  Source Side 1  . . . . . . . . . . . .   5
  145.                                  Source Side 2  . . . . . . . . . . . .   6
  146.                                  Print Device . . . . . . . . . . . . .   6
  147.                                  Number Copies  . . . . . . . . . . . .   7
  148.                                  Columns  . . . . . . . . . . . . . . .   7
  149.                                  Rows . . . . . . . . . . . . . . . . .   7
  150.                                  Line Numbers . . . . . . . . . . . . .   7
  151.                                  File Information . . . . . . . . . . .   7
  152.                                  Boxes  . . . . . . . . . . . . . . . .   7
  153.                                  Gray Bar . . . . . . . . . . . . . . .   7
  154.                                  Expand Tabs  . . . . . . . . . . . . .   8
  155.                                  Line Wrap  . . . . . . . . . . . . . .   8
  156.                                  CCTL . . . . . . . . . . . . . . . . .   8
  157.                                  Counts . . . . . . . . . . . . . . . .   9
  158.                                  Function Keys  . . . . . . . . . . . .   9
  159.  
  160.                               Configuration File  . . . . . . . . . . .   9
  161.  
  162.                               Selected Pages  . . . . . . . . . . . . .  10
  163.  
  164.                               Command Line Options  . . . . . . . . . .  10
  165.                                  Print Through  . . . . . . . . . . . .  11
  166.                                  Default Configuration File . . . . . .  11
  167.  
  168.                               Logical Page Sizes  . . . . . . . . . . .  11
  169.  
  170.                               Index . . . . . . . . . . . . . . . . . .  13
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.      2Faced                                                              iii
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.         Introduction             2Faced prints text files  on printers which
  192.                               understand Hewlett-Packard's  Printer Command
  193.                               Language  (PCL).  These  printers include the
  194.                               HP  DeskJet,  HP LaserJet,  HP  LaserJet+, HP
  195.                               LaserJet II,  HP LaserJet IID,  LaserJet IIP,
  196.                               LaserJet  III,  and  LaserJet  IIID.   (Note:
  197.                               2Faced's  abilities  are  handicapped on  the
  198.                               LaserJet  and  Deskjet  printers  because  of
  199.                               hardware limitations of the printers.   These
  200.                               limitations are described in the Printer Type
  201.                               section.)   2Faced will  also  work with  any
  202.                               other printers that emulate these printers or
  203.                               understand PCL.
  204.  
  205.                                  Files can be printed in several ways.   Two
  206.                               normal pages can  be printed on one page in a
  207.                               2up fashion.  Both sides  of the paper can be
  208.                               used, thus  greatly reducing  the  size of  a
  209.                               program listing or report printout.  The size
  210.                               of a document can be reduced to one fourth of
  211.                               its original  size.   The  pamphlet style  of
  212.                               printing  allows  the  printed  pages  to  be
  213.                               folded in half and stapled together, creating
  214.                               a very compact and manageable document.  Gray
  215.                               bars  can be used to  help group the lines of
  216.                               text or  to give a classical  green bar look.
  217.                               The file  name and  page numbers can  also be
  218.                               printed at the top or bottom of the pages.
  219.  
  220.                                  2Faced is  configurable.   Once options are
  221.                               selected,    they   can   be   saved   in   a
  222.                               configuration file.  A configuration file can
  223.                               be  used  to produce  a  consistent  style of
  224.                               printed output.
  225.  
  226.                                  Selected  pages   of  a   document  can  be
  227.                               printed without needing to reprint the entire
  228.                               document.   When  one  or  several pages  are
  229.                               poorly  printed  or damaged  and  need to  be
  230.                               replaced,  2Faced can  print only  the needed
  231.                               pages with the Selected Pages option.
  232.  
  233.                                  A  temporary file  is used  in the  current
  234.                               directory when  the duplex or  Selected Pages
  235.                               option  is used.   The name  of this  file is
  236.                               2FACED.TMP.     The  size  of  this  file  is
  237.                               proportional to the  size of  the file  being
  238.                               printed  and  can  become quite  large.   The
  239.                               temporary  file is deleted  when the  file is
  240.                               finished being printed.
  241.  
  242.  
  243.  
  244.      2Faced                                                               1
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.                                  2Faced is a  very versatile tool with  many
  253.                               capabilities.  With  a little  experimenting,
  254.                               it can  be quickly mastered and  used without
  255.                               ever using this manual.  
  256.  
  257.  
  258.         Control Screen           The options  for 2Faced are selected on the
  259.                               control screen.
  260.  
  261.  
  262.  
  263.              ╔═══════════════════════════════════════════════════════════╗
  264.              ║                        2Faced V3.0                        ║
  265.              ║   Copyright (C) 1990 Petersen Programming & Consulting    ║
  266.              ║                        27 Nov 1990                        ║
  267.              ╠═══════════════════════════════════════════════════════════╣
  268.              ║    Print File  ______________________________________     ║
  269.              ║                                                           ║
  270.              ║  Printer Type  LaserJet II               Cols  80         ║
  271.              ║    Paper Size  Letter                    Rows  60         ║
  272.              ║   Orientation  Landscape         Line Numbers  Yes        ║
  273.              ║    Print Mode  Duplex 2 Up          File Info  All        ║
  274.              ║       Binding  Long Edge                Boxes  Yes        ║
  275.              ║ Source Side 1  Paper Tray            Gray Bar  Yes        ║
  276.              ║        Side 2  Manual Feed        Expand Tabs  8          ║
  277.              ║  Print Device  PRN                  Line Wrap  Not Marked ║
  278.              ║ Number Copies  1                         CCTL  No         ║
  279.              ╟───────────────────────────────────────────────────────────╢
  280.              ║                        - Counts -                         ║
  281.              ║    Logical 0     Printed 0     Sheets 0     Page # 0      ║
  282.              ╟───────────────────────────────────────────────────────────╢
  283.              ║    ESC Exit   F2 Save   F4 Selected Pages   F8 Start      ║
  284.              ║             Press Space Bar To Change Options             ║
  285.              ╚═══════════════════════════════════════════════════════════╝
  286.  
  287.  
  288.                                  These  options  control  how  the  file  is
  289.                               printed.   Once  a valid  file name  has been
  290.                               entered,  other options may be selected.  The
  291.                               current option being selected is highlighted.
  292.                               For  most  of  the  options  on  the  Control
  293.                               Screen,  pushing the space  bar rolls through
  294.                               the   available   values   for  the   option.
  295.                               Movement  from  one   option  to  another  is
  296.                               accomplished  by using the  arrow, Enter, Tab
  297.                               and Shift-Tab keys.
  298.  
  299.                                  After the file is printed, a new file  name
  300.                               can be given along  with the selection of new
  301.                               options.
  302.  
  303.  
  304.  
  305.      2                                                               2Faced
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.      Print File                  This  is where the  name of  the file to be
  314.                               printed is  given.  If the desired file to be
  315.                               printed is  not in  the current  directory, a
  316.                               full  or  partial directory  pathname  to the
  317.                               file  may  be  included.   The  standard  DOS
  318.                               notations for  directories can  be used.   If
  319.                               the file can not  be found, the program beeps
  320.                               and waits for a new file name.
  321.  
  322.                                  If the  file name is  given on the  command
  323.                               line, it is placed in this field (see Command
  324.                               Line options).  After  a file is printed, the
  325.                               name of a new file to be printed can be given
  326.                               and other options can be selected.
  327.  
  328.  
  329.      Printer Type                The type of printer used to print the  file
  330.                               is  selected  here.    The  space  bar  rolls
  331.                               through these values:
  332.  
  333.  
  334.                                       DeskJet
  335.                                       LaserJet
  336.                                       LaserJet+
  337.                                       LaserJet II
  338.                                       LaserJet IID
  339.                                       LaserJet IIP
  340.                                       LaserJet III
  341.                                       LaserJet IIID
  342.  
  343.  
  344.                                  The DeskJet does not support the  landscape
  345.                               orientation  without  the  addition  of  font
  346.                               cartridges.
  347.  
  348.                                  The  LaserJet  does not  support  graphics.
  349.                               As a  result, the gray bar  and boxes options
  350.                               do not work.  Also, the LaserJet doesn't have
  351.                               the lineprinter font as  an internal font.  A
  352.                               font cartridge with  the lineprinter font  is
  353.                               needed to  print except  when using the  1up,
  354.                               portrait options.
  355.  
  356.  
  357.      Paper Size                  Three paper sizes are available.
  358.  
  359.  
  360.                                       Letter
  361.                                       Legal
  362.                                       A4
  363.  
  364.  
  365.  
  366.      2Faced                                                               3
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.                                  Legal works  well for  printing 132  column
  375.                               reports in the  landscape orientation using a
  376.                               2up or pamphlet print mode.
  377.  
  378.  
  379.      Orientation                 Two   orientations   are   available    for
  380.                               printing a file.
  381.  
  382.  
  383.                                       Portrait
  384.                                       Landscape
  385.  
  386.  
  387.                                  The  orientation controls the direction the
  388.                               file is printed on the paper.
  389.                                
  390.  
  391.  
  392.                               ┌────────┐
  393.                               │        │ 
  394.                               │        │      ┌───────────────┐
  395.                               │        │      │               │
  396.                               │        │      │               │  
  397.                               │        │      │               │  
  398.                               └────────┘      └───────────────┘
  399.                                Portrait           Landscape      
  400.                                
  401.  
  402.  
  403.  
  404.      Print Mode                  The  print  modes  control  the  manner  in
  405.                               which   the  text  file  is  printed.    Five
  406.                               different types of print modes are available.
  407.  
  408.  
  409.                                       Simplex 1up
  410.                                       Simplex 2up
  411.                                       Duplex 1up
  412.                                       Duplex 2up
  413.                                       Pamphlet
  414.  
  415.  
  416.                                  1up and 2up refer to the number of  logical
  417.                               pages that  can be printed  on one side  of a
  418.                               sheet of  paper.  Simplex uses  only one side
  419.                               of the paper to print.  Duplex prints on both
  420.                               sides of the paper.
  421.  
  422.  
  423.         Simplex 1up              The  file is  printed on  one side  of  the
  424.                               paper.   One logical page is  printed on each
  425.                               sheet  of paper.   Simplex  1up is  very much
  426.  
  427.      4                                                               2Faced
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.                               like  printing the file without using 2Faced.
  436.                               The amount of paper  used in the printing the
  437.                               document is not reduced by using this option.
  438.  
  439.  
  440.         Simplex 2up              The  file is  printed on  one side  of  the
  441.                               paper.  Two logical pages are printed on each
  442.                               sheet  of paper.    This  option reduces  the
  443.                               amount of paper used to print the document by
  444.                               half.
  445.  
  446.  
  447.         Duplex 1up               The file  is printed on  both sides of  the
  448.                               paper.   One logical page is  printed on each
  449.                               sheet  of  paper.  This  option  reduces  the
  450.                               amount of paper used to print the document by
  451.                               half.
  452.  
  453.  
  454.         Duplex 2up               This  option  is  frequently  used.     Two
  455.                               logical  pages are printed  on both  sides of
  456.                               the paper.  One  fourth the paper is  used to
  457.                               print the document.  The paper can be punched
  458.                               with holes  and placed  in a ring  binder for
  459.                               compact and easy storage.
  460.  
  461.  
  462.         Pamphlet                 The  pamphlet option  is  a  special option
  463.                               that enables the printed document to become a
  464.                               miniature book.  The  pages are printed in an
  465.                               order such  that the   printed output  can be
  466.                               folded and stapled in the middle.
  467.  
  468.  
  469.      Binding                     The binding  option  is only  valid when  a
  470.                               duplex  print  mode  has been  chosen.    The
  471.                               binding option has two values.
  472.  
  473.  
  474.                                       Short Edge
  475.                                       Long Edge
  476.  
  477.  
  478.                                  The  binding refers  to how  the paper will
  479.                               be  fastened  when put  in  a  folder.   This
  480.                               option  controls how the paper is turned over
  481.                               for printing the second side of the paper.
  482.  
  483.  
  484.      Source Side 1               Specifies  which  paper  tray  is  used  to
  485.                               supply the  paper for  the first side  of the
  486.                               document.    The available  values  depend on
  487.  
  488.      2Faced                                                               5
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.                               which printer type is selected.  The complete
  497.                               list of possible values are:
  498.  
  499.  
  500.                                       Manual Feed
  501.                                       Paper Tray
  502.                                       Upper Tray
  503.                                       Lower Tray
  504.  
  505.  
  506.                                  The upper  and lower  tray values  are only
  507.                               available  on the  LaserJet IID  and LaserJet
  508.                               IIID.
  509.  
  510.  
  511.      Source Side 2               Specifies where the  paper is to  come from
  512.                               for printing the second side of the document.
  513.                               This option is  only available when  a duplex
  514.                               or  pamphlet  print  mode  is  chosen.    The
  515.                               available values are the same as for side 1.
  516.  
  517.  
  518.      Print Device                Specifies   which    logical   device    is
  519.                               connected  to  the  printer.    The available
  520.                               choices are:
  521.  
  522.  
  523.                                       PRN
  524.                                       LPT1
  525.                                       LPT2
  526.                                       COM1
  527.                                       COM2
  528.                                       File
  529.  
  530.                                  The formatted  output  can be  routed to  a
  531.                               file rather than going  directly to a printer
  532.                               port.  The default  output file name is taken
  533.                               from  the   file  being  printed   with  .2FC
  534.                               appended  to  it.    This file  name  can  be
  535.                               changed to  anything.  When the  back side of
  536.                               the paper will be printed (duplex or pamphlet
  537.                               mode)   but  a   duplexing  printer   is  not
  538.                               selected, then a second file, containing side
  539.                               2, is used.  The last letter in the file name
  540.                               chosen  is increased by  a value of  one.  To
  541.                               print  these files, use the COPY command with
  542.                               the binary file option:
  543.  
  544.  
  545.                                    copy /b file.2fc lpt1:
  546.  
  547.  
  548.  
  549.      6                                                               2Faced
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.      Number Copies               More  than one  copy  of the  file  can  be
  559.                               printed if desired.  A value between 1 and 99
  560.                               can be  entered  for  the  number  of  needed
  561.                               copies.
  562.  
  563.  
  564.      Columns                     The number  of columns  available across  a
  565.                               logical page  are  dependent upon  the  paper
  566.                               size,  orientation and  print mode.   Usually
  567.                               there are  either 80  or 132 columns.   Legal
  568.                               size  paper  in  1up  landscape can  get  230
  569.                               characters   across  the  page.    Check  the
  570.                               Logical  Page Sizes  section  for a  complete
  571.                               list of available columns and rows.
  572.  
  573.  
  574.      Rows                        Like columns,  the number of rows available
  575.                               down a logical  page are  dependent upon  the
  576.                               paper  size,  orientation  and   print  mode.
  577.                               Usually  there are  60,  66, 80  or 88  rows.
  578.                               Legal size paper in  1up portrait can get 120
  579.                               rows.  Check Logical Page Sizes section for a
  580.                               complete list of available columns and rows.
  581.  
  582.  
  583.      Line Numbers             Line numbers of each line in the file will be
  584.                               printed if you wish.
  585.  
  586.  
  587.      File Information            Information about the file  can be  printed
  588.                               if  desired.   This information  includes the
  589.                               filename, file creation date and  time, print
  590.                               date  and time,  and the  page number.   This
  591.                               information  is printed in  the top or bottom
  592.                               margin of the physical  page.  Another option
  593.                               is to print just the page number.
  594.  
  595.  
  596.      Boxes                       Boxes  can be  printed  around  the logical
  597.                               pages.  When the file information is printed,
  598.                               a box works well to separate the printed text
  599.                               from the file information.
  600.  
  601.  
  602.      Gray Bar                    A   classical  computer  printout  look  is
  603.                               obtained by using the  gray bar options.  The
  604.                               gray scale  ability of  the laser printer  is
  605.                               used to create ten  gray bars on each logical
  606.                               page.  Typically, 3 lines are printed in each
  607.                               gray bar for a 60 row page and 4 lines for an
  608.                               80  row page.  When a value for the number of
  609.  
  610.      2Faced                                                               7
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.                               rows  is chosen  which causes  the edge  of a
  619.                               gray bar  to cut through a line, the gray bar
  620.                               option is automatically turned off.  However,
  621.                               it can be turned back on  if this side affect
  622.                               is okay.
  623.  
  624.  
  625.      Expand Tabs                 Tabs  embedded   in  the   text  file   are
  626.                               expanded.   If tab expansion  is not desired,
  627.                               set  this  value  to  0.   Valid  values  are
  628.                               between  0 and  99.   The default value  is 8
  629.                               spaces.   Tabs are expanded to  the column of
  630.                               the next multiple of  the given value plus 1.
  631.                               With  a  value of  8,  tabs  are expanded  to
  632.                               columns 9, 17, 25, 33, 41, etc.
  633.  
  634.  
  635.      Line Wrap                   Line wrap indicates what  is to happen with
  636.                               lines  which are  longer  than  the  selected
  637.                               number of  columns.  The values available for
  638.                               line wrap are:
  639.  
  640.  
  641.                                       Off
  642.                                       Not Marked
  643.                                       Marked
  644.  
  645.  
  646.         Off                      Long lines are truncated.  Characters  that
  647.                               would   overflow  onto  the   next  line  are
  648.                               dropped.
  649.  
  650.         Marked                   Long  lines are wrapped  onto the next line
  651.                               and  marked by  --> at  the beginning  of the
  652.                               line.  This highlights what lines are too big
  653.                               to fit on one line.
  654.  
  655.         Not Marked               Long lines are wrapped onto the next  line.
  656.                               Characters  at the  end of  the line  are not
  657.                               lost.
  658.  
  659.  
  660.      CCTL                        Carriage  Control  characters in  the first
  661.                               column of a formatted report are used if this
  662.                               option  is turned  on.   Otherwise, they  are
  663.                               printed along with the rest of the file.
  664.  
  665.                                    1  Page Eject
  666.                                    0  Double Space
  667.                                    -  Triple Space
  668.  
  669.  
  670.  
  671.      8                                                               2Faced
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.      Counts                      As the file  is printed, the page  counters
  680.                               show  the current  number  of pages  for each
  681.                               type shown.  A  logical page is a page  as it
  682.                               normally  would be printed.  The logical page
  683.                               count  shows  how  many  logical  pages  were
  684.                               found.  The printed page count shows how many
  685.                               sides of a  sheet of paper  is printed.   The
  686.                               sheets count  shows how many  physical sheets
  687.                               of  paper are used  to print  the file.   The
  688.                               page  number count  shows  the  current  page
  689.                               number in the file.
  690.  
  691.  
  692.      Function Keys               While selecting  options, the ESC key  will
  693.                               abort  the  program  without  the  file being
  694.                               printed.  The F2  key  will save  the current
  695.                               selected  options  in  a  configuration  file
  696.                               named  2FACED.CFG  in the  current directory.
  697.                               The F4 key invokes the Selected Pages option.
  698.                               The F8  starts the printing of  the file with
  699.                               the current options.
  700.  
  701.  
  702.         Configuration            The   configuration  file   saves  all  the
  703.         File                  selected  values for the options available in
  704.                               2Faced.  This allows 2Faced  to be customized
  705.                               and to start with user selected defaults each
  706.                               time it is run.   The file name used  to save
  707.                               the defaults  is 2FACED.CFG.   If there  is a
  708.                               file by  this name in  the current directory,
  709.                               2Faced will  overwrite it when the  F2 key is
  710.                               used to save the current configuration.
  711.  
  712.                                  2Faced   looks  for   this   file   in  two
  713.                               directories  during  its initialization.   It
  714.                               first looks in the current directory.  If the
  715.                               file is not found there, it then looks in the
  716.                               directory  where  2FACED.EXE is  invoked from
  717.                               (the home directory).  This  allows different
  718.                               configuration files to  be kept in  different
  719.                               directories.  If the  files in one  directory
  720.                               should  be printed in  a particular manner, a
  721.                               configuration file can be created to save the
  722.                               needed options.   A default configuration can
  723.                               be kept  in the same directory  as the 2Faced
  724.                               program.
  725.  
  726.                                  The 2FACED.CFG file can also  be renamed to
  727.                               any  other  file name  and  still  used as  a
  728.                               configuration file.   The section  on Command
  729.                               Line  Options  describes an  option available
  730.                               when invoking 2Faced which uses any file as a
  731.  
  732.      2Faced                                                               9
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.                               configuration  file.    The  desired  default
  741.                               options can be kept anywhere on disk, as long
  742.                               as 2Faced is told where to find them.
  743.  
  744.  
  745.         Selected Pages           When  one  or more  pages  from  a document
  746.                               need  to  be  reprinted  the  selected  pages
  747.                               option  can be used.  It is invoked by the F4
  748.                               key on the control screen.   A range of  page
  749.                               numbers can be given to be printed.  
  750.  
  751.                                  The  first  and  last page  number  of  the
  752.                               range    are    asked    for    by    2Faced.
  753.  
  754.  
  755.  
  756.              ╟───────────────────────────────────────────────────────────╢
  757.              ║            Print Selected Pages  1    thru  1             ║
  758.              ║                                                           ║
  759.              ╚═══════════════════════════════════════════════════════════╝
  760.  
  761.  
  762.                                  The  first   page  number   in  the   range
  763.                               defaults  to the value of 1.  Any page number
  764.                               between  1 and 999 can  be given.   If a page
  765.                               number greater than the last page in the file
  766.                               is given, nothing is printed.
  767.  
  768.                                  The last page number in the range  defaults
  769.                               to the  same as the  first page number.   Any
  770.                               number  greater or  equal to  the first  page
  771.                               number can be given  as the last page number.
  772.                               If  only  one  page  is desired,  just  press
  773.                               Enter.
  774.  
  775.                                  2Faced  searches  for  the  given range  of
  776.                               page  numbers in  the  text file  and  prints
  777.                               them.  If another  range of pages are needed,
  778.                               2Faced comes  back and  asks for them.   This
  779.                               loop  of  asking for  a  range  of pages  and
  780.                               printing continues until ESC is pressed.
  781.  
  782.                                  The options  used to  control the  printing
  783.                               of  these  selected  pages must  be  selected
  784.                               before pressing  F4  to invoke  the  selected
  785.                               pages option.
  786.  
  787.  
  788.         Command Line             Several options  can  be  given  to  2Faced
  789.         Options               when it is run from the command line.
  790.  
  791.  
  792.  
  793.      10                                                              2Faced
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.                                    2faced [filename] [/P] [/D defaults] 
  803.  
  804.  
  805.                                  The P and  D options can be given in either
  806.                               lower  or upper case.   Either / or  - can be
  807.                               used to mark these options.
  808.  
  809.         filename                 When the  filename of the  text file to  be
  810.                               printed is  given on the command  line, it is
  811.                               automatically placed on  the control  screen.
  812.                               It is  still possible  to change the  name of
  813.                               the file on the control screen.
  814.  
  815.         Print Through            The  P  option  instructs  2Faced  to  skip
  816.                               input on the  control screen, directly  print
  817.                               through  this  file  and   then  quit.    Any
  818.                               configuration file found by 2Faced is used to
  819.                               initialize  the control screen options.  This
  820.                               method of  using 2Faced works great when only
  821.                               one  file is  to be  printed and  the desired
  822.                               options  have been  saved in  a configuration
  823.                               file.
  824.  
  825.                                  When the D  option is given on the  command
  826.         Default               line,  a  name  of  a configuration  file  is
  827.         Configuration         expected to  follow it.   This file  name can
  828.         File                  include a  full disk  and directory path.   A
  829.                               configuration   file   of   any   name,   not
  830.                               necessarily 2FACED.CFG, can be  kept anywhere
  831.                               on the disk and used by 2Faced.  
  832.  
  833.                                  If  the  name of  a  configuration file  is
  834.                               given on  the command line, then  it is used.
  835.                               2Faced will  not look for one  in the current
  836.                               directory or in 2Faced's home directory.
  837.  
  838.  
  839.         Logical Page             Quite  a   few  logical   page  sizes   are
  840.         Sizes                 available depending on  the selected type  of
  841.                               paper  (letter,  legal,   or  A4),   printing
  842.                               orientation  (portrait   or  landscape),  and
  843.                               number of  logical pages (1up or  2up).  This
  844.                               table shows the values available for the rows
  845.                               and columns depending on these options.
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.      2Faced                                                              11
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.       
  864.              ╔════════╤═══════════════════════════════════════════════════╗
  865.              ║        │         Portrait                  Landscape       ║
  866.              ║        ├────────────┬────────────┬────────────┬────────────╢
  867.              ║        │     1up    │     2up    │     1up    │     2up    ║
  868.              ║        ├────────────┼────────────┼────────────┼────────────╢
  869.              ║        │ rows  cols │ rows  cols │ rows  cols │ rows  cols ║
  870.              ╟────────┼────────────┼────────────┼────────────┼────────────╢
  871.              ║        │  60    80  │  60   132  │  60   132  │  60    80  ║
  872.              ║ Letter │  66   132  │  66        │  66   180  │  66        ║
  873.              ║        │  80        │            │  80        │  80        ║
  874.              ║        │  88        │            │  88        │  88        ║
  875.              ╟────────┼────────────┼────────────┼────────────┼────────────╢
  876.              ║        │  80    80  │  60   132  │  60   140  │  60   132  ║
  877.              ║  Legal │  84   132  │  66        │  66   230  │  66        ║
  878.              ║        │ 112        │  80        │  80        │  80        ║
  879.              ║        │ 120        │  88        │  88        │  88        ║
  880.              ╟────────┼────────────┼────────────┼────────────┼────────────╢
  881.              ║        │  60    80  │  60   132  │  60   132  │  60    80  ║
  882.              ║     A4 │  66   132  │  66        │  66   180  │  66        ║
  883.              ║        │  80        │            │  80        │  80        ║
  884.              ║        │  88        │            │  88        │  88        ║
  885.              ╚════════╧════════════╧════════════╧════════════╧════════════╝
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.      12                                                              2Faced
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.         Index
  924.  
  925.  
  926.      -->  8
  927.      /D  11
  928.      /P  11
  929.      1up  3, 4, 7, 11
  930.      2FACED.CFG  9, 11
  931.      2FACED.EXE  9
  932.      2FACED.TMP  1
  933.      2up  1, 4, 11
  934.      A4  3, 11
  935.      Abort  9
  936.      Arrow  2
  937.      Binding  5
  938.      Boxes  3, 7
  939.      Cartridge  3
  940.      CCTL  8
  941.      Columns  7, 11
  942.      COM  6
  943.      Command line  3, 9-11
  944.      Configuration file  1, 9, 11
  945.           default  11
  946.      Control Screen  2, 10, 11
  947.      Count
  948.           logical page  9
  949.           page number  9
  950.           printed page  9
  951.           sheet  9
  952.      Counts  9
  953.      Customize  9
  954.      Date
  955.           creation  7
  956.           print  7
  957.      Defaults  9, 11
  958.      DeskJet  1, 3
  959.      Device
  960.           logical  6
  961.           Print  6
  962.      Directory
  963.           current  1, 3, 9, 11
  964.           home  9, 11
  965.           path  3, 11
  966.      Duplex  1, 4-6
  967.           1up  4
  968.           2up  4
  969.      Duplex 1up  5
  970.      Duplex 2up  5
  971.      Edge
  972.           Long  5
  973.           Short  5
  974.      Enter  2, 10
  975.  
  976.      2Faced                                                              13
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.      ESC  9, 10
  985.      F2  9
  986.      F4  9, 10
  987.      F8  9
  988.      File Information  1, 7
  989.      File Output  6
  990.      Filename  7, 11
  991.      Folder  5
  992.      Function Keys  9
  993.      Graphics  3
  994.      Gray bar  1, 3, 7
  995.      Gray scale  7
  996.      Initialization  9
  997.      Landscape  3, 4, 11
  998.      LaserJet  1, 3
  999.      LaserJet II  1, 3
  1000.      LaserJet IID  1, 3, 6
  1001.      LaserJet III  3
  1002.      LaserJet IIID  1, 3, 6
  1003.      LaserJet IIP  3
  1004.      LaserJet+  1, 3
  1005.      Legal  3, 7, 11
  1006.      Letter  3, 11
  1007.      Line Numbers  7
  1008.      Line Wrap  8
  1009.      Lineprinter  3
  1010.      Logical page  4, 5, 7, 9, 11
  1011.      Logical Page Sizes  7, 11
  1012.      Lower Tray  6
  1013.      LPT  6
  1014.      Manual Feed  6
  1015.      Marked  8
  1016.      Number Copies  7
  1017.      Orientation  4, 7, 11
  1018.      Overflow  8
  1019.      Page number  7, 9, 10
  1020.      Pamphlet  1, 4-6
  1021.      Paper Size  3, 7
  1022.      Paper tray  5, 6
  1023.      Paper type  11
  1024.      PCL  1
  1025.      Physical page  7
  1026.      Portrait  3, 4, 7, 11
  1027.      Print File  3
  1028.      Print Mode  4, 7
  1029.      Print Through  11
  1030.      Printed page  9
  1031.      Printer Command Language  1
  1032.      Printer Type  3
  1033.      PRN  6
  1034.      Reprinted  10
  1035.      Ring binder  5
  1036.  
  1037.      14                                                              2Faced
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.      Rows  7, 11
  1046.      Selected pages  1, 9, 10
  1047.      Sheet  4, 5, 9
  1048.      Shift-Tab  2
  1049.      Side  5, 6
  1050.           first  5
  1051.           second  5, 6
  1052.      Simplex  4
  1053.           1up  4
  1054.           2up  4, 5
  1055.      Source
  1056.           side 1  5
  1057.           side 2  6
  1058.      Space bar  2
  1059.      Staple  5
  1060.      Tab  2
  1061.      Tabs
  1062.           Expand  8
  1063.      Temporary file  1
  1064.      Time
  1065.           creation  7
  1066.           print  7
  1067.      Truncate  8
  1068.      Upper Tray  6
  1069.      Wrap  8
  1070.  
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.      2Faced                                                              15
  1099.